package com.chunfeng.mypen.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chunfeng.mypen.entity.Subject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 学科Dao
 * @author: 小雷
 * @createTime: 2023-11-14 00:04:49
 */
@Mapper
public interface SubjectDao extends BaseMapper<Subject> {
    //查询所有学科
    List<Subject> lookSubject(@Param("subject") Subject subject);
}
